Page({
    data: {
      activity: {}
    },
    onLoad() {
      const eventChannel = this.getOpenerEventChannel();
      eventChannel.on('acceptData', (data) => {
        this.setData({ activity: data });
      });
    }
  });